//
//  DatePickerView.h
//  Hai
//
//  Created by admin on 15/11/17.
//  Copyright (c) 2015年 wangzijian. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol sendDate <NSObject>
@required
- (void)sendDate:(NSDate *)date;
@end


@interface CalendarView : UIView

@property (nonatomic,strong) UIView* datePickerView;
@property (strong,nonatomic) UIView *backgroundView;
@property (nonatomic,strong) UIDatePicker *datePicker;
@property (nonatomic,strong) NSDate * date;
@property (nonatomic,strong)id<sendDate>dateDelegate;
- (instancetype)initWithCurrentDate:(NSDate *)date;
- (void)showDatePickerView;
- (void)cancelSelectCurrentDate;
@end
